package com.hkemmm.shop.service.impl;

import com.hkemmm.shop.dao.ProvincesMapper;
import com.hkemmm.shop.entity.Provinces;
import com.hkemmm.shop.service.IProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProvinceService implements IProvinceService {
    @Autowired
    private ProvincesMapper provincesMapper;

    @Override
    public Provinces selectByPrimaryKey(Integer id) {
        return provincesMapper.selectByPrimaryKey(id);
    }

    @Override
    public Provinces selectProvince(String pid) {
        return provincesMapper.selectProvince(pid);
    }
}
